package com.intellagric.mapper;

import com.intellagric.pojo.TraceRecordSale;
import com.intellagric.pojo.TraceRecordSaleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceRecordSaleMapper {
    long countByExample(TraceRecordSaleExample example);

    int deleteByExample(TraceRecordSaleExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceRecordSale record);

    int insertSelective(TraceRecordSale record);

    List<TraceRecordSale> selectByExample(TraceRecordSaleExample example);

    TraceRecordSale selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceRecordSale record, @Param("example") TraceRecordSaleExample example);

    int updateByExample(@Param("record") TraceRecordSale record, @Param("example") TraceRecordSaleExample example);

    int updateByPrimaryKeySelective(TraceRecordSale record);

    int updateByPrimaryKey(TraceRecordSale record);
}